package net.edu_soft.ec.asset.service;

import net.edu_soft.ec.asset.pojo.Advertising;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface AdvertisingService {

    int addAdvertising(MultipartFile advertisingurl, String name, Integer sortOrder);

    int deleteAdvertising(int advertisingId);

    List<Advertising> selectAll();

    int upDateAdvertising(Advertising advertising,MultipartFile advertisingurl);
}
